#ifndef __TYPES_H__
#define __TYPES_H__ 1

#ifdef _MSC_VER
	typedef __int32 int32_t;
	#include <winsock2.h>
	// FIXXXME: MS compiles need an external stdint.h for now
#ifdef _DEBUG
	#define DEBUG 1
#endif
#elif __GNUC__  // GCC
	#include <stdint.h>    // Use the C99 official header
	#include <arpa/inet.h> // htonl and ntohl
#else
	// all other platforms
#endif

#endif

